package com.ck567.netty.chatroom.message

class LoginRequestMessage() : Message() {
    var username: String = ""
    var password: String = ""

    constructor(username: String, password: String):this() {
        this.username = username
        this.password = password
    }

    override fun getMessageType(): Int {
        return Login_RequestMessage
    }

    override fun toString(): String {
        return "LoginRequestMessage(username='$username', password='$password')"
    }

}